import { Empty } from "antd";
import React from "react";
import SchemaField from "../../core/SchemaField";

const Container = ({ parentSchema,items = [] }) => {
    
  if(!items||items.length==0){
      return <Empty/>
  }
  return items.map((item: any,index) => <SchemaField  key={item._id} item={item} />);
};
export default Container;
